Preview - Modeling Ecosystems Computationally

Moving from NetTango to NetLogo


We will transfer the code that you generated in NetTango to the new NetLogo model. This will give us the basic functions that you worked on before but allow us to make more direct changes.  If you need help with any of the steps listed below, click here to see a video of the process.

1. Set up a model similar to the one you completed in the earlier lesson using NetTango.  Make sure you click "Recompile" after you finish making changes.

2. Scroll down and click on the 'NetLogo Code' arrow below the block areas to see the full code of the first model written out.  Select all of this code and copy it.

3. Scroll down to the second model lower on the page.  These instructions will continue below.

4. Click the "NetLogo Code" button in the second model and paste the code there.

5. Click the "Recompile Code" button in the second model.

6. Click setup and go in the second model.

7. Answer the questions below.


Questions

Please answer the questions below.

After you transferred the code to NetLogo and clicked setup and start, does the model look the same as the NetTango version?

Identical
A little different
Very different

The wolves and moose can be transformed into other shapes or organisms. Go to the 'set shape' line for wolves and change the shape for a wolf to a star.  Find 5 other shapes (for example, geometric shapes, other animals or plants, or vehicles) that you can change the wolves or moose into and list them below. Remember to always click on the "recompile code" button after making changes.


What else can you change in the model by changing the code?


Notes

These notes will appear on every page in this lesson so feel free to put anything here you'd like to keep track of.